package com.common.singleton;

/**
 * 懒汉模式变种————静态代码块
 * Created by Administrator on 2018-9-13 0013.
 */
public class SingleTonHungaryChange {

    private static SingleTonHungaryChange instance = null;

    static {
        instance = new SingleTonHungaryChange();
    }

    private SingleTonHungaryChange() {}


    public static SingleTonHungaryChange getInstance() {
        return instance;
    }

}
